package com.dhx.service.impl;

import com.dhx.mapper.StudentMapper;
import com.dhx.pojo.Student;
import com.dhx.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentServiceimpl implements StudentService {
    @Autowired
    private StudentMapper studentMapper;

    @Override
    public void saveyy(Student student) {
        studentMapper.saveyy(student);
    }

    @Override
    public List<Student> findyy(String id,String date) {
        return studentMapper.findyy(id,date);
    }

    @Override
    public List<Student> findyyam(String id, String date) {
        return studentMapper.findyyam(id,date);
    }

    @Override
    public List<Student> findyypm(String id, String date) {
        return studentMapper.findyypm(id,date);
    }


}
